<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.box{
				width: 80%;
				margin: 20px auto;
				display: grid;
				grid-template-columns: repeat(auto-fit,1fr);
				/* grid-template-columns: 200px 100px minmax(100px,300px); */
				/* grid-template-rows: 200px 200px; */
				grid-template-rows: 200px 200px;
				/* 综合属性 同时设置行和列的距离, 也可以分开进行设置 */
				gap: 10px;
			}
			.box div{
				background-color: aqua;
				border-radius: 20%;
			}
			.box .one{
				grid-column-start: 1;
				grid-column-end: 3;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<div class="one">1</div>
			<div>2</div>
			<div>3</div>
			<div>4</div>
			<div>5</div>
			<div>6</div>
			<div>7</div>
			<div>8</div>
			<div>9</div>
		</div>
	</body>
</html>